import { actionCreator } from '../utils/func'
import {
  LOGIN,
  LOGOUT
} from '../constants/actionType'

export function productLogin (params) {
  return actionCreator({
    type: LOGIN,
    payload: { params }
  })
}
export function productLogout (params) {
  return actionCreator({
    type: LOGOUT,
    payload: { params }
  })
}
